/**
 * 用户session
 */
package com.zjht.gmcc.bean.model;

public class UserSession implements java.io.Serializable {
	private static final long serialVersionUID = 1715745183706248053L;

	private int userid;// 用户ID
	private String usercode;// 用户编码
	private String username;// 用户名称

	private int orgid;// 用户所在组织ID
	private String orgcode;// 用户所在组织编码
	private String orgname;// 用户所在组织名称
	private int orgtype;// 用户所在组织类别
	private String channeltype;// 用户所在组织渠道类别

	private int deptid;// 用户所在部门ID
	private String deptname;// 用户所在部门名称
	private int dutyid;// 用户角色编号，用逗号间隔，并以逗号结尾

	private String actorcode;// 用户所在公司类别
	private int areaid;// 用户所在地市编码

	public UserSession(int userid, String usercode, String username, int orgid, String orgcode, String orgname, int orgtype, String channeltype,
			int deptid, String deptname, int dutyid, String actorcode, int areaid) {
		setUserid(userid);
		setUsercode(usercode);
		setUsername(username);
		setOrgid(orgid);
		setOrgcode(orgcode);
		setOrgname(orgname);
		setOrgtype(orgtype);
		setChanneltype(channeltype);
		setDeptid(deptid);
		setDeptname(deptname);
		setDutyid(dutyid);
		setActorcode(actorcode);
		setAreaid(areaid);
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public String getUsercode() {
		return usercode;
	}

	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getOrgid() {
		return orgid;
	}

	public void setOrgid(int orgid) {
		this.orgid = orgid;
	}

	public String getOrgcode() {
		return orgcode;
	}

	public void setOrgcode(String orgcode) {
		this.orgcode = orgcode;
	}

	public String getOrgname() {
		return orgname;
	}

	public void setOrgname(String orgname) {
		this.orgname = orgname;
	}

	public int getOrgtype() {
		return orgtype;
	}

	public void setOrgtype(int orgtype) {
		this.orgtype = orgtype;
	}

	public String getChanneltype() {
		return channeltype;
	}

	public void setChanneltype(String channeltype) {
		this.channeltype = channeltype;
	}

	public int getDeptid() {
		return deptid;
	}

	public void setDeptid(int deptid) {
		this.deptid = deptid;
	}

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	public int getDutyid() {
		return dutyid;
	}

	public void setDutyid(int dutyid) {
		this.dutyid = dutyid;
	}

	public String getActorcode() {
		return actorcode;
	}

	public void setActorcode(String actorcode) {
		this.actorcode = actorcode;
	}

	public int getAreaid() {
		return areaid;
	}

	public void setAreaid(int areaid) {
		this.areaid = areaid;
	}

}
